<template>
	<div>
		<vc-viewer style="width: 60vw;height: 60vh"></vc-viewer>
		<div>加载成功</div>
	</div>
</template>

<script>
	var cesium = require('cesium');
	var widgets = require('cesium/Build/Cesium/Widgets/widgets.css');
	export default {
		beforeCreate() {
			//cesium.Ion.defaultAccessToken='E1AvqC97fThW8fj4srkktSEMA9xlWAWVS9MSH7DJywG9TF3tnKhM3iMmV0nHJGidztjvbxYg257QMdRr5L2LG3oFGWSLtQ568Tw'
		},
		mounted() {
			console.log('mounted')
			//cesium.Ion.defaultAccessToken='E1AvqC97fThW8fj4srkktSEMA9xlWAWVS9MSH7DJywG9TF3tnKhM3iMmV0nHJGidztjvbxYg257QMdRr5L2LG3oFGWSLtQ568Tw'
			let NSCEarth_token = 'E1AvqC97fThW8fj4srkktSEMA9xlWAWVS9MSH7DJywG9TF3tnKhM3iMmV0nHJGidztjvbxYg257QMdRr5L2LG3oFGWSLtQ568Tw';
			this.NSCEarth = new cesium.Viewer('cesiumContainer', NSCEarth_token);
			// console.log(this.NSCEarth);
		},
		methods: {
			handleNSCEarthUILoad(){
				
			}
		}
	}
</script>

<style>
</style>